
import matplotlib.pyplot as plt

fig = plt.figure()
ax1 = plt.subplot2grid([3,3],[0,0],rowspan=1,colspan=3)

ax1.plot([0,1],[0,1])

ax2 = plt.subplot2grid([3,3],[1,0],rowspan=1,colspan=2)
ax3 = plt.subplot2grid([3,3],[1,2],rowspan=2,colspan=1)
ax3 = plt.subplot2grid([3,3],[2,0],rowspan=1,colspan=2)



plt.show()